package com.business.bean.oa;

import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

@Table(name = "OA_CALENDAR", description = "考勤日历")
public class CalendarBean {

	@Column(pk = true, type = Type.定长文本, description = "日历编号", canNull = false, size = 32, policy = "UUID")
	private String calendarID = null;

	@Column(type = Type.定长文本, description = "部门编号", size = 32)
	private String departID = null;

	/** yyyy-mm-dd */
	@Column(type = Type.定长文本, description = "日期", size = 10)
	private String calendarDate = null;

	/** 工作日，假日，节日 */
	@Column(type = Type.变长文本, description = "日期类型", size = 20)
	private String dayType = null;

	@Column(type = Type.变长文本, description = "节日名称", size = 30)
	private String dayName = null;

	@Column(type = Type.数字整型, description = "排班上班时间")
	private int startWorkHour = 8;

	@Column(type = Type.数字整型, description = "排班上班时间")
	private int startWorkMinute = 0;

	@Column(type = Type.数字整型, description = "排班下班时间")
	private int endWorkHour = 17;

	@Column(type = Type.数字整型, description = "排班下班时间")
	private int endWorkMinute = 30;

	@Column(type = Type.数字双精度型, description = "休息时长")
	private double releaseTime = 0;

	public String getCalendarID() {
		return calendarID;
	}

	public void setCalendarID(String calendarID) {
		this.calendarID = calendarID;
	}

	public String getCalendarDate() {
		return calendarDate;
	}

	public void setCalendarDate(String calendarDate) {
		this.calendarDate = calendarDate;
	}

	public String getDayType() {
		return dayType;
	}

	public void setDayType(String dayType) {
		this.dayType = dayType;
	}

	public String getDayName() {
		return dayName;
	}

	public void setDayName(String dayName) {
		this.dayName = dayName;
	}

	public String getDepartID() {
		return departID;
	}

	public void setDepartID(String departID) {
		this.departID = departID;
	}

	public int getStartWorkHour() {
		return startWorkHour;
	}

	public void setStartWorkHour(int startWorkHour) {
		this.startWorkHour = startWorkHour;
	}

	public int getStartWorkMinute() {
		return startWorkMinute;
	}

	public void setStartWorkMinute(int startWorkMinute) {
		this.startWorkMinute = startWorkMinute;
	}

	public int getEndWorkHour() {
		return endWorkHour;
	}

	public void setEndWorkHour(int endWorkHour) {
		this.endWorkHour = endWorkHour;
	}

	public int getEndWorkMinute() {
		return endWorkMinute;
	}

	public void setEndWorkMinute(int endWorkMinute) {
		this.endWorkMinute = endWorkMinute;
	}

	public double getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(double releaseTime) {
		this.releaseTime = releaseTime;
	}

}
